<%@ page pageEncoding="utf-8" %>
<%@include file="/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<fmt:bundle basename="res">
<head>
    <meta charset="utf-8">
    <title><fmt:message key='zbfxspxq' /></title>
    <jsp:include page="/WEB-INF/commons/commons-header.jsp" flush="true"/>
    <style>
        html {
            background: #fff;
        }
    </style>
</head>

<body>
<div class="layui-container">
    <div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend><fmt:message key='jbxx123' /></legend>
        </fieldset>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='spmc' /></label>
            <div class="layui-form-mid layui-word-aux">
                ${liveGoods.goods.name}
            </div>
        </div>

        <div class="layui-form-item goodsChannelArea">
            <label class="layui-form-label"><fmt:message key='spfl' /></label>

            <div class="layui-form-mid layui-word-aux">
                ${liveGoods.goods.goodsChannel.parent.parent.name} >> ${liveGoods.goods.goodsChannel.parent.name} >> ${liveGoods.goods.goodsChannel.name}
            </div>

        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='spjg' /></label>
            <div class="layui-form-mid layui-word-aux">
                <fmt:formatNumber value="${liveGoods.goods.defaultPrice}" type="CURRENCY"/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='bdje' /></label>
            <div class="layui-form-mid layui-word-aux">
                <fmt:formatNumber value="${liveGoods.guaranteeScale * 100}"/>% (<fmt:formatNumber value="${liveGoods.guaranteeScale * liveGoods.goods.defaultPrice}"/>)
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='dbfw' /></label>
            <div class="layui-form-mid layui-word-aux">
                <c:if test="${liveGoods.liveScope == 1}"><fmt:message key='qbzbj' /></c:if>
                <c:if test="${liveGoods.liveScope == 2}"><fmt:message key='zdzbj' /></c:if>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='kc' /></label>
            <div class="layui-form-mid layui-word-aux">
                ${liveGoods.goods.store}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='zt' /></label>
            <div class="layui-form-mid layui-word-aux">
                <c:if test="${liveGoods.status == 1}"><fmt:message key='ysj' /></c:if>
                <c:if test="${liveGoods.status == 2}"><fmt:message key='yxj' /></c:if>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='sptp' /></label>
            <div class="layui-form-mid layui-word-aux">
                <img src="${store_domain}/uploads/${liveGoods.goods.defaultImage}" class="preview" style="max-width: 300px; max-height: 300px; margin-top: 20px">
            </div>
        </div>


    </div>
</div>

<script>
    layui.use(['form', 'laydate']);
</script>
</body>
</fmt:bundle>
</html>